import { useEffect, useState, memo } from 'react';

const Home = () => {
  const [data, setData] = useState('');

  useEffect(() => {
    setData('login!');
  }, []);

  return (
    <>
      <h2>login</h2>
      {data}
    </>
  );
};

export default memo(Home);
